﻿<?xml version="1.0" encoding="utf-8" ?>
<AdoNetDataAccess connection="$eComDBConnection$" >
	<Sql>
		UPDATE eComSalesOrders
		SET updatedDate = @updatedDate
		,statusId = @statusId
		,paymentTermsId = @paymentTermsId
		,userId=@userId
		,companyId=@companyId
		,discountCode=@discountCode
		,seqNumber=@seqNumber
		,contactId=@contactId
		WHERE id = @id
	</Sql>
	<Param name="id" type="UniqueIdentifier"/>
	<Param name="updatedDate" type="DateTime"/>
	<Param name="seqNumber" type="String"/>
	<Param name="discountCode" type="String"/>
	<Param name="status.id" dbName="statusId" type="UniqueIdentifier"/>
	<Param name="customer.id" dbName="userId"  type="UniqueIdentifier"/>
	<Param name="customer.companyId" dbName="companyId"  type="UniqueIdentifier"/>
	<Param name="paymentMethod.id" dbName="paymentTermsId" type="UniqueIdentifier"/>
	<Param name="orderContact.id" dbName="contactId"  type="UniqueIdentifier"/>
</AdoNetDataAccess>